#ifndef __Render_CubeRenderable_h__
#define __Render_CubeRenderable_h__

#include "Render/Renderable.h"
#include "Core/VecMath.h"

namespace vital {

	//--------------------------------------------------------------------------
	class TCubeRenderable : public IRenderable {

	public:
		TCubeRenderable(float halfSize = 1.0f);
		virtual ~TCubeRenderable();

		virtual void render();

	private:
		TVec3 mVertices[8];

		void buildCubeMesh(float halfSize);
	};

}

#endif	// __Render_CubeRenderable_h__